a11y/entry: Fix text coords not adjusted for alloc
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 5 Oct 2017 15:49:00 +0000 (15:49 +0000)
committerDaniel Boles <dboles.src@gmail.com>
Sun, 15 Oct 2017 11:37:44 +0000 (12:37 +0100)
commit9af088693a5087a4d82fe14305d67444755b0fcc
treed8088299f151363e058861d4f3bf977055928b91
parent29b8cfc95250f31570f39a0d14688a8ba21c505d
a11y/entry: Fix text coords not adjusted for alloc

What is missing is the "allocation" part of x/y coordinates. Since
gtk_entry_realize doesn't call gtk_widget_set_window(priv->text_area),
the coordinates returned by gdk_window_get_origin don't include it.

This patch fixes this.

https://bugzilla.gnome.org/show_bug.cgi?id=784509
gtk/a11y/gtkentryaccessible.c